@import "bootstrap.min";
@import "common";
@import "vant.theme";

.scroll-container {
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.box-scroll {
  margin-top: 32px;
}

/* 不够一屏 整屏白色  两个一起用 */
.bg-white {
  background: #fff;
}

.bg-gray {
  background: #f6f6f6;
  overflow: hidden;
}

.hp-absolute {
  position: absolute;
  top: 0;
  bottom: 0;
}

.d-page {
  width: 100%;
  height: 100%;
}

/**盒布局中让子组件的比重为1*/
.flex-1-dhc {
  flex: 1;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
}

/**鼠标的形状为手型*/
.cursor-pointer-dhc {
  cursor: pointer;
  user-select: none;
}

/**文字不折行*/
.no-warp-dhc {
  white-space: nowrap !important;
}

a,
button,
li {
  user-select: none;
}

a:active,
button:active {
  opacity: 0.6;
}

/** 文字 相关 START */
.font-12-gl {
  font-size: 12px;
}

.font-13-gl {
  font-size: 13px;
}

.font-14-gl {
  font-size: 14px;
}

.font-15-gl {
  font-size: 15px;
}

.font-16-gl {
  font-size: 16px;
}

.font-18-gl {
  font-size: 18px;
}

.font-20-gl {
  font-size: 20px;
}

.font-22-gl {
  font-size: 22px;
}

.font-24-gl {
  font-size: 24px;
}

.text-80-gl {
  color: #808080;
}

.text-99-gl {
  color: #999999;
}

.text-33-gl {
  color: #333333;
}

.text-66-gl {
  color: #666666;
}

.text-44-gl {
  color: #444444;
}

.text-bold-gl {
  font-weight: 700;
}

.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-center {
  text-align: center;
}

.text-justify {
  text-align: justify;
}

.text-nowrap {
  white-space: nowrap;
}

.text-lowercase {
  text-transform: lowercase;
}

.text-uppercase {
  text-transform: uppercase;
}

.text-capitalize {
  text-transform: capitalize;
}

.text-muted {
  color: #777777;
}

.text-primary {
  color: #337ab7;
}

a.text-primary:hover,
a.text-primary:focus {
  color: #286090;
}

.text-success {
  color: #3c763d;
}

a.text-success:hover,
a.text-success:focus {
  color: #2b542c;
}

.text-info {
  color: #31708f;
}

a.text-info:hover,
a.text-info:focus {
  color: #245269;
}

.text-warning {
  color: #8a6d3b;
}

a.text-warning:hover,
a.text-warning:focus {
  color: #66512c;
}

.text-danger {
  color: #a94442;
}

a.text-danger:hover,
a.text-danger:focus {
  color: #843534;
}

/** 文字 相关 END */
/** 宽高 START */
.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

.w-0 {
  width: 0 !important;
}

.h-0 {
  height: 0 !important;
}

/** 宽高 END */
/** flex 相关 START */
.d-flex {
  display: flex;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.align-items-center {
  align-items: center;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-between {
  justify-content: space-between;
}

.justify-content-end {
  justify-content: flex-end;
}

.flex-1 {
  flex: 1;
}

/** flex 相关 END */
// 文本超出自动换行超出3行字段显示省略号
.ellipsis {
  word-wrap: break-word; //自动换行
  word-break: break-all; //自动换行（兼容字母）
  overflow: hidden; //超出隐藏
  text-overflow: ellipsis; //溢出显示省略号
  display: -webkit-box;
  -webkit-line-clamp: 3; //显示3行
  -webkit-box-orient: vertical;

}
